/**
 * output package name
 */
package com.kingdee.eas.custom.quality;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class DealState extends StringEnum
{
    public static final String TOCOMPLETE_VALUE = "1";
    public static final String COMPLETED_VALUE = "2";

    public static final DealState ToComplete = new DealState("ToComplete", TOCOMPLETE_VALUE);
    public static final DealState Completed = new DealState("Completed", COMPLETED_VALUE);

    /**
     * construct function
     * @param String dealState
     */
    private DealState(String name, String dealState)
    {
        super(name, dealState);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static DealState getEnum(String dealState)
    {
        return (DealState)getEnum(DealState.class, dealState);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(DealState.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(DealState.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(DealState.class);
    }
}